<?php 
namespace app\admin\validate;
use think\Validate;

class Fl extends Validate
{
	protected $rule=[
		'linkname'=>'unique:friend_link,linkname,id',
	];
	protected $message=[
		'linkname'=>'该链接名已存在',
	];
}